﻿
using AutoMapper;
using BCCommon;
using BCCommon.Enums;
using BCDto.TMS.WorryFreeMoveSuiteConfig;
using BCEntity.TMS.WorryFreeMoveSuiteConfig;
using BCService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BCService.MapperProfiles.TMS
{
    public class WorryFreeMoveSuiteConfigProfile : Profile
    {
        public WorryFreeMoveSuiteConfigProfile()
        {

            //无忧 搬家套餐配置
            CreateMap<WorryFreeMoveSuiteConfigDto, WorryFreeMoveSuiteConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorryFreeMoveSuiteConfigRequestDto, WorryFreeMoveSuiteConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorryFreeMoveSuiteConfigRequestDto, WorryFreeMoveSuiteConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorryFreeMoveSuiteConfigPutDto, WorryFreeMoveSuiteConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorryFreeMoveSuiteConfigEntity, WorryFreeMoveSuiteConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorryFreeMoveSuiteConfigViewEntity, WorryFreeMoveSuiteConfigViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}